package com.wisdytech.linkdcs.pad.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 检测记录实体类
 * </p>
 *
 * @author chenbin
 * @since 2018-08-14
 */
@TableName("TT_QM_IPQC_INSPECTION_RECORD")
public class IpqcInspectionRecord extends Model<IpqcInspectionRecord> {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private String pkId;
    /**
     * 检验单明细ID
     */
    @TableField("INSPECTION_DETAIL_ID")
    private String inspectionDetailId;
    /**
     * 检验项ID
     */
    @TableField("INSPECTION_ITEM_ID")
    private String inspectionItemId;
    /**
     * 检验项名称
     */
    @TableField("ITEM_NAME")
    private String itemName;
    @TableField("ITEM_TYPE")
    private String itemType;
    /**
     * 单位
     */
    @TableField("UNIT")
    private String unit;
    /**
     * 标准值
     */
    @TableField("STAND_VALUE")
    private String standValue;
    /**
     * 标准下限
     */
    @TableField("MIN_VALUE")
    private Double minValue;
    /**
     * 标准上限
     */
    @TableField("MAX_VALUE")
    private Double maxValue;
    /**
     * 单项检验结果
     */
    @TableField("INSPECTION_RESULT")
    private String inspectionResult;
    /**
     * 删除标识
     */
    @TableField("DEL_FLAG")
    private String delFlag;
    /**
     * 创建时间
     */
    @TableField("CREATE_USER")
    private String createUser;
    /**
     * 创建人
     */
    @TableField("CREATE_DATE")
    private Date createDate;
    /**
     * 更新时间
     */
    @TableField("UPDATE_USER")
    private String updateUser;
    /**
     * 更新人
     */
    @TableField("UPDATE_DATE")
    private Date updateDate;
    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;


    public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public String getInspectionDetailId() {
        return inspectionDetailId;
    }

    public void setInspectionDetailId(String inspectionDetailId) {
        this.inspectionDetailId = inspectionDetailId;
    }

    public String getInspectionItemId() {
        return inspectionItemId;
    }

    public void setInspectionItemId(String inspectionItemId) {
        this.inspectionItemId = inspectionItemId;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getItemType() {
        return itemType;
    }

    public void setItemType(String itemType) {
        this.itemType = itemType;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getStandValue() {
        return standValue;
    }

    public void setStandValue(String standValue) {
        this.standValue = standValue;
    }

    public Double getMinValue() {
        return minValue;
    }

    public void setMinValue(Double minValue) {
        this.minValue = minValue;
    }

    public Double getMaxValue() {
        return maxValue;
    }

    public void setMaxValue(Double maxValue) {
        this.maxValue = maxValue;
    }

    public String getInspectionResult() {
        return inspectionResult;
    }

    public void setInspectionResult(String inspectionResult) {
        this.inspectionResult = inspectionResult;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkId;
    }

    @Override
    public String toString() {
        return "IpqcInspectionRecord{" +
        ", pkId=" + pkId +
        ", inspectionDetailId=" + inspectionDetailId +
        ", inspectionItemId=" + inspectionItemId +
        ", itemName=" + itemName +
        ", itemType=" + itemType +
        ", unit=" + unit +
        ", standValue=" + standValue +
        ", minValue=" + minValue +
        ", maxValue=" + maxValue +
        ", inspectionResult=" + inspectionResult +
        ", delFlag=" + delFlag +
        ", createUser=" + createUser +
        ", createDate=" + createDate +
        ", updateUser=" + updateUser +
        ", updateDate=" + updateDate +
        ", remark=" + remark +
        "}";
    }
}
